<template>
	<view v-if="is_bol">
		京东
	</view>
	<view v-else>
		淘宝
	</view>
	<view v-if="num === 1">星期1</view>
	<view v-else-if="num === 2">星期2</view>
	<view v-else-if="num === 3">星期3</view>
	<view v-else-if="num === 4">星期4</view>
	<view v-else-if="num === 5">星期5</view>
	<view v-else-if="num === 6">星期6</view>
	<view v-else-if="num === 7">星期天</view>
	<view v-else>格式错误</view>
	
	<image v-if="if_img" src="../../../static/pic1.png" mode="aspectFill"></image>
	<image v-show="if_img" src="../../../static/pic2.png" mode="aspectFill"></image>
	
	<template v-if="if_img">
		<image src="../../../static/pic4.jpg" mode="aspectFill"></image>
	</template>
	
</template>

<script setup>
	import {ref} from 'vue';
	const is_bol = ref(false)
	const num = ref(8)
	const if_img = ref(true)
</script>

<style lang="scss" scoped>
	       
</style>
